package com.gfxy.modules.common.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gfxy.modules.common.service.GfxyScoreBean;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.ToString;
import org.jeecg.common.aspect.annotation.Dict;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 成员列表
 * @Author: jeecg-boot
 * @Date:   2021-06-29
 * @Version: V1.0
 */
@ApiModel(value="gfxy_t_member_list对象", description="成员列表")
@Data
@TableName("gfxy_t_member_list")
@ToString
public class MemberList implements Serializable , GfxyScoreBean {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**比赛ID*/
    @ApiModelProperty(value = "比赛ID")
    private String itemId;
    /**时间*/
    @ApiModelProperty(value = "时间")
    private String date;
	/**类型*/
	@Excel(name = "类型", width = 15, dicCode = "TEACHING_BUILDING_TYPE")
    @Dict(dicCode = "TEACHING_BUILDING_TYPE")
    @ApiModelProperty(value = "类型")
    // todo new 修改注解
    private Integer itemValue;
	/**位次*/
	@Excel(name = "位次", width = 15)
    @ApiModelProperty(value = "位次")
    private Integer ranked;
	/**教师ID*/
	@Excel(name = "教师ID", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @Dict(dictTable = "gfxy_t_user_info", dicText = "realname", dicCode = "id")
    @ApiModelProperty(value = "教师ID")
    private String teacherId;
	/**部门ID*/
	@Excel(name = "部门ID", width = 15, dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    @Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    @ApiModelProperty(value = "部门ID")
    private String orgId;

    /**工作量*/
//    @Excel(name = "工作量", width = 15)
//    @ApiModelProperty(value = "工作量")
//    private Double proportion;

    /**是否自定义*/
    @Excel(name = "是否自定义", width = 15, dicCode = "yn_status")
    @ApiModelProperty(value = "是否自定义")
    private Integer isCustom;

    @Excel(name = "是否审批", width = 15, dicCode = "yn_status")
    @ApiModelProperty(value = "是否审批")
    private Integer isPass = 0;

    @Excel(name = "成绩", width = 15)
    @ApiModelProperty(value = "成绩")
    private Double score;
}
